<!DOCTYPE html>
<html lang="en" xmlns:th="http://www.thymeleaf.org" xmlns:c="http://www.w3.org/1999/XSL/Transform">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
    <link rel="StyleSheet" href="../css/jpetstore.css" type="text/css" media="screen"/>
    <link rel="stylesheet" href="https://cdn.staticfile.org/twitter-bootstrap/4.3.1/css/bootstrap.min.css">
    <script src="https://cdn.staticfile.org/jquery/3.2.1/jquery.min.js"></script>
    <script src="https://cdn.staticfile.org/popper.js/1.15.0/umd/popper.min.js"></script>
    <script src="https://cdn.staticfile.org/twitter-bootstrap/4.3.1/js/bootstrap.min.js"></script>
</head>
<body>
    <div th:replace="common/IncludeTop">
    </div>

    <div id="Content">

        <div id="BackLink">
            <a href="/adminCatalog/viewEditUserInfo">Return Users</a>
        </div>

        <div id="Catalog">
            <form th:action="@{/adminUser/editPassword(username=${username})}" method="post">
                <table>
                    <tr>
                        <th>Username</th>
                        <th>New Password</th>
                        <th>Confirm Password</th>
                    </tr>
                    <tr>
                        <td th:text="${username}" th:name="username">username</td>
                        <td><input th:type="text" th:name="password" ></td>
                        <td><input th:type="text" th:name="repeatedPassword" ></td>
                    </tr>
                </table>

                <font color="red" th:text="${msg}"></font>

                <input th:type="submit" th:value="${'Save Pssword'}"/>

            </form>
        </div>
    </div>

    <div th:replace="common/IncludeBottom">
    </div>
</body>
</html>